import request from '@/utils/request'

// 根据id获取商品分类信息
export function getCategoryById(id) {
    return request({
        url: `/product/category/${id}`,
        method: 'get'
    })
}